Class org.omg.CORBA.ExceptionList
All Packages Class Hierarchy This Package Previous Next Index
Class org.omg.CORBA.ExceptionList
java.lang.Object
|
+----org.omg.CORBA.ExceptionList
- public class ExceptionList
- extends Object
The ExceptionList class is used in the request operations to
describe the exceptions an operation can result in. It maintains a
modifiable list of TypeCodes.
-
ExceptionList()
-
-
add(TypeCode)
- Add a TypeCode.
-
count()
- A count of number of TypeCodes in the ExceptionList
-
item(int)
- Return the TypeCode at the given index
-
remove(int)
- Remove the TypeCode at the given index.
ExceptionList
public ExceptionList()
count
public abstract int count() throws SystemException
- A count of number of TypeCodes in the ExceptionList
- Returns:
- number of TypeCodes in the ExceptionList.
add
public abstract void add(TypeCode tc) throws SystemException
- Add a TypeCode.
- Parameters:
- tc - the TypeCode to be added.
item
public abstract TypeCode item(int index) throws Bounds, SystemException
- Return the TypeCode at the given index
- Parameters:
- index - the index of TypeCode desired.
- Returns:
- the TypeCode at the given index.
- Throws: Bounds
- raised if the index is greater than
or equal to number of TypeCodes.
remove
public abstract void remove(int index) throws Bounds, SystemException
- Remove the TypeCode at the given index. Note that the indices
of all TypeCodes following this one are shifted down by one.
- Parameters:
- index - the index of TypeCode to be removed.
- Throws: Bounds
- raised if the index is greater than
or equal to number of TypeCodes.
All Packages Class Hierarchy This Package Previous Next Index